<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Faqs extends CI_Controller {
	
	function __construct(){
		parent::__construct();
		$this->load->helper(array('link'));
		$this->load->model(array('faqs_model', 'apply_model'));

	}
	
	
	function index(){
		#get data from DB.
		$faqs	=	$this->faqs_model->get_faqs();
		$country				=	$this->apply_model->get_country();
		
		#assign data.
		$data['faqs']		=	$faqs;
		$data['country']	=	$country;			
	
		$data['tpl_file']	=	"faqs";
		$this->load->view('layout/index', $data);
	}


}
/* End of file faqs.php */
/* Location: ./application/controllers/faqs.php */